home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Hyper / S-Sh / SD Gradebook.cpt / SuperDuper Gradebook 1.25 / card_4242.txt < prev    next >
Text File  |  1988-07-21  |  14KB  |  585 lines

  1. -- card: 4242 from stack: in.25
  2. -- bmap block id: 5945
  3. -- flags: 4000
  4. -- background id: 2780
  5. -- name: Options
  6.  
  7.  
  8. -- part 1 (button)
  9. -- low flags: 00
  10. -- high flags: 8005
  11. -- rect: left=24 top=98 right=120 bottom=142
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: Grade -> Score
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   global minorgradetoscore
  23.   put true into minorgradetoscore
  24.   set the hilite of me to true
  25.   set the hilite of card button 5 to false
  26. end mouseUp
  27.  
  28.  
  29.  
  30. -- part 2 (button)
  31. -- low flags: 00
  32. -- high flags: 8005
  33. -- rect: left=24 top=146 right=168 bottom=142
  34. -- title width / last selected line: 0
  35. -- icon id / first selected line: 0 / 0
  36. -- text alignment: 1
  37. -- font id: 0
  38. -- text size: 12
  39. -- style flags: 0
  40. -- line height: 16
  41. -- part name: Grade -> Score
  42. ----- HyperTalk script -----
  43. on mouseUp
  44.   global examgradetoscore
  45.   put true into examgradetoscore
  46.   set the hilite of me to true
  47.   set the hilite of card button 6 to false
  48. end mouseUp
  49.  
  50.  
  51.  
  52. -- part 3 (button)
  53. -- low flags: 00
  54. -- high flags: C005
  55. -- rect: left=23 top=193 right=215 bottom=141
  56. -- title width / last selected line: 0
  57. -- icon id / first selected line: 0 / 0
  58. -- text alignment: 1
  59. -- font id: 0
  60. -- text size: 12
  61. -- style flags: 0
  62. -- line height: 16
  63. -- part name: Grade -> Score
  64. ----- HyperTalk script -----
  65. on mouseUp
  66.   global papergradetoscore
  67.   put true into papergradetoscore
  68.   set the hilite of me to true
  69.   set hilite of card button 7 to false
  70. end mouseUp
  71.  
  72.  
  73.  
  74. -- part 4 (button)
  75. -- low flags: 00
  76. -- high flags: 8005
  77. -- rect: left=24 top=244 right=266 bottom=143
  78. -- title width / last selected line: 0
  79. -- icon id / first selected line: 0 / 0
  80. -- text alignment: 1
  81. -- font id: 0
  82. -- text size: 12
  83. -- style flags: 0
  84. -- line height: 16
  85. -- part name: Grade -> Score
  86. ----- HyperTalk script -----
  87. on mouseUp
  88.   global finalgradetoscore
  89.   put true into finalgradetoscore
  90.   set the hilite of me to true
  91.   set hilite of card button 8 to false
  92. end mouseUp
  93.  
  94.  
  95.  
  96. -- part 5 (button)
  97. -- low flags: 00
  98. -- high flags: C005
  99. -- rect: left=156 top=98 right=120 bottom=275
  100. -- title width / last selected line: 0
  101. -- icon id / first selected line: 0 / 0
  102. -- text alignment: 1
  103. -- font id: 0
  104. -- text size: 12
  105. -- style flags: 0
  106. -- line height: 16
  107. -- part name: Score -> Grade
  108. ----- HyperTalk script -----
  109. on mouseUp
  110.   global minorgradetoscore
  111.   put false into minorgradetoscore
  112.   set the hilite of me to true
  113.   set the hilite of card button 1 to false
  114.   answer "Remember To Set Preferences" with "OK"
  115. end mouseUp
  116.  
  117.  
  118.  
  119. -- part 6 (button)
  120. -- low flags: 00
  121. -- high flags: C005
  122. -- rect: left=156 top=147 right=169 bottom=276
  123. -- title width / last selected line: 0
  124. -- icon id / first selected line: 0 / 0
  125. -- text alignment: 1
  126. -- font id: 0
  127. -- text size: 12
  128. -- style flags: 0
  129. -- line height: 16
  130. -- part name: Score -> Grade
  131. ----- HyperTalk script -----
  132. on mouseUp
  133.   global examgradetoscore
  134.   put false into examgradetoscore
  135.   set the hilite of me to true
  136.   set the hilite of card button 2 to false
  137.   answer "Remember To Set Preferences" with "OK"
  138. end mouseUp
  139.  
  140.  
  141.  
  142. -- part 7 (button)
  143. -- low flags: 00
  144. -- high flags: 8005
  145. -- rect: left=156 top=194 right=216 bottom=276
  146. -- title width / last selected line: 0
  147. -- icon id / first selected line: 0 / 0
  148. -- text alignment: 1
  149. -- font id: 0
  150. -- text size: 12
  151. -- style flags: 0
  152. -- line height: 16
  153. -- part name: Score -> Grade
  154. ----- HyperTalk script -----
  155. on mouseUp
  156.   global papergradetoscore
  157.   put false into papergradetoscore
  158.   set the hilite of me to true
  159.   set the hilite of card button 3 to false
  160.   answer "Remember To Set Preferences" with "OK"
  161. end mouseUp
  162.  
  163.  
  164.  
  165. -- part 8 (button)
  166. -- low flags: 00
  167. -- high flags: C005
  168. -- rect: left=156 top=244 right=266 bottom=275
  169. -- title width / last selected line: 0
  170. -- icon id / first selected line: 0 / 0
  171. -- text alignment: 1
  172. -- font id: 0
  173. -- text size: 12
  174. -- style flags: 0
  175. -- line height: 16
  176. -- part name: Score -> Grade
  177. ----- HyperTalk script -----
  178. on mouseUp
  179.   global finalgradetoscore
  180.   put false into finalgradetoscore
  181.   set the hilite of me to true
  182.   set the hilite of card button 4 to false
  183.   answer "Remember To Set Preferences" with "OK"
  184. end mouseUp
  185.  
  186.  
  187.  
  188. -- part 9 (field)
  189. -- low flags: 00
  190. -- high flags: 0002
  191. -- rect: left=438 top=121 right=138 bottom=466
  192. -- title width / last selected line: 0
  193. -- icon id / first selected line: 0 / 0
  194. -- text alignment: 0
  195. -- font id: 3
  196. -- text size: 12
  197. -- style flags: 0
  198. -- line height: 16
  199. -- part name: minorweight
  200.  
  201.  
  202. -- part 10 (field)
  203. -- low flags: 00
  204. -- high flags: 0002
  205. -- rect: left=438 top=142 right=159 bottom=466
  206. -- title width / last selected line: 0
  207. -- icon id / first selected line: 0 / 0
  208. -- text alignment: 0
  209. -- font id: 3
  210. -- text size: 12
  211. -- style flags: 0
  212. -- line height: 16
  213. -- part name: examweight
  214.  
  215.  
  216. -- part 11 (field)
  217. -- low flags: 00
  218. -- high flags: 0002
  219. -- rect: left=438 top=164 right=181 bottom=466
  220. -- title width / last selected line: 0
  221. -- icon id / first selected line: 0 / 0
  222. -- text alignment: 0
  223. -- font id: 3
  224. -- text size: 12
  225. -- style flags: 0
  226. -- line height: 16
  227. -- part name: paperweight
  228.  
  229.  
  230. -- part 12 (field)
  231. -- low flags: 00
  232. -- high flags: 0002
  233. -- rect: left=438 top=186 right=203 bottom=466
  234. -- title width / last selected line: 0
  235. -- icon id / first selected line: 0 / 0
  236. -- text alignment: 0
  237. -- font id: 3
  238. -- text size: 12
  239. -- style flags: 0
  240. -- line height: 16
  241. -- part name: finalweight
  242.  
  243.  
  244. -- part 13 (field)
  245. -- low flags: 00
  246. -- high flags: 0002
  247. -- rect: left=310 top=100 right=119 bottom=335
  248. -- title width / last selected line: 0
  249. -- icon id / first selected line: 0 / 0
  250. -- text alignment: 0
  251. -- font id: 3
  252. -- text size: 12
  253. -- style flags: 0
  254. -- line height: 16
  255. -- part name: drop minors
  256.  
  257.  
  258. -- part 14 (field)
  259. -- low flags: 00
  260. -- high flags: 0002
  261. -- rect: left=310 top=148 right=167 bottom=335
  262. -- title width / last selected line: 0
  263. -- icon id / first selected line: 0 / 0
  264. -- text alignment: 0
  265. -- font id: 3
  266. -- text size: 12
  267. -- style flags: 0
  268. -- line height: 16
  269. -- part name: drop exams
  270.  
  271.  
  272. -- part 15 (field)
  273. -- low flags: 00
  274. -- high flags: 0002
  275. -- rect: left=310 top=196 right=215 bottom=335
  276. -- title width / last selected line: 0
  277. -- icon id / first selected line: 0 / 0
  278. -- text alignment: 0
  279. -- font id: 3
  280. -- text size: 12
  281. -- style flags: 0
  282. -- line height: 16
  283. -- part name: drop papers
  284.  
  285.  
  286. -- part 16 (button)
  287. -- low flags: 00
  288. -- high flags: A003
  289. -- rect: left=414 top=279 right=302 bottom=458
  290. -- title width / last selected line: 0
  291. -- icon id / first selected line: 0 / 0
  292. -- text alignment: 1
  293. -- font id: 0
  294. -- text size: 12
  295. -- style flags: 0
  296. -- line height: 16
  297. -- part name: OK
  298. ----- HyperTalk script -----
  299. on mouseUp
  300.   global minorweight,examweight,paperweight,finalweight
  301.   get card field "minorweight"
  302.   put it into minorweight
  303.   get card field "examweight"
  304.   put it into examweight
  305.   get card field "paperweight"
  306.   put it into paperweight
  307.   get card field "finalweight"
  308.   put it into finalweight
  309.   if minorweight+examweight+paperweight+finalweight <> 100 then
  310.     answer "Percentages must total 100%" with "OK"
  311.     put 25 into minorweight
  312.     put 25 into examweight
  313.     put 25 into paperweight
  314.     put 25 into finalweight
  315.     put 25 into card field "minorweight"
  316.     put 25 into card field "examweight"
  317.     put 25 into card field "paperweight"
  318.     put 25 into card field "finalweight"
  319.   end if
  320. end mouseUp
  321.  
  322.  
  323.  
  324. -- part 17 (button)
  325. -- low flags: 00
  326. -- high flags: A003
  327. -- rect: left=299 top=281 right=303 bottom=347
  328. -- title width / last selected line: 0
  329. -- icon id / first selected line: 0 / 0
  330. -- text alignment: 1
  331. -- font id: 0
  332. -- text size: 12
  333. -- style flags: 0
  334. -- line height: 16
  335. -- part name: OK
  336. ----- HyperTalk script -----
  337. on mouseUp
  338.   global dropminors,dropexams,droppapers
  339.   get card field "drop minors"
  340.   put it into dropminors
  341.   get card field "drop exams"
  342.   put it into dropexams
  343.   get card field "drop papers"
  344.   put it into droppapers
  345.   if dropexams > 14 or dropexams > 3 or droppapers > 3 then
  346.     answer "Drops can't exceed possible assignments" with "OK"
  347.     put 0 into dropminors
  348.     put 0 into dropexams
  349.     put 0 into droppapers
  350.     put 0 into card field "drop minors"
  351.     put 0 into card field "drop exams"
  352.     put 0 into card field "drop papers"
  353.   end if
  354. end mouseUp
  355.  
  356.  
  357.  
  358. -- part 18 (button)
  359. -- low flags: 00
  360. -- high flags: 0000
  361. -- rect: left=256 top=298 right=321 bottom=281
  362. -- title width / last selected line: 0
  363. -- icon id / first selected line: 1013 / 1013
  364. -- text alignment: 1
  365. -- font id: 0
  366. -- text size: 12
  367. -- style flags: 0
  368. -- line height: 16
  369. -- part name: Next
  370. ----- HyperTalk script -----
  371. on mouseUp
  372.   go to next card
  373. end mouseUp
  374.  
  375.  
  376.  
  377. -- part 19 (button)
  378. -- low flags: 00
  379. -- high flags: 0000
  380. -- rect: left=228 top=298 right=321 bottom=254
  381. -- title width / last selected line: 0
  382. -- icon id / first selected line: 1014 / 1014
  383. -- text alignment: 1
  384. -- font id: 0
  385. -- text size: 12
  386. -- style flags: 0
  387. -- line height: 16
  388. -- part name: Prev
  389. ----- HyperTalk script -----
  390. on mouseUp
  391.   go to prev card
  392. end mouseUp
  393.  
  394.  
  395.  
  396. -- part 20 (button)
  397. -- low flags: 00
  398. -- high flags: A003
  399. -- rect: left=228 top=32 right=54 bottom=292
  400. -- title width / last selected line: 0
  401. -- icon id / first selected line: 0 / 0
  402. -- text alignment: 1
  403. -- font id: 0
  404. -- text size: 12
  405. -- style flags: 0
  406. -- line height: 16
  407. -- part name: HELP!
  408. ----- HyperTalk script -----
  409. on mouseUp
  410.   set visible of card field "Info" to not the visible of card field "info"
  411. end mouseUp
  412.  
  413.  
  414.  
  415. -- part 21 (button)
  416. -- low flags: 00
  417. -- high flags: 0000
  418. -- rect: left=370 top=76 right=113 bottom=487
  419. -- title width / last selected line: 0
  420. -- icon id / first selected line: 0 / 0
  421. -- text alignment: 1
  422. -- font id: 0
  423. -- text size: 12
  424. -- style flags: 0
  425. -- line height: 16
  426. -- part name: New Button
  427. ----- HyperTalk script -----
  428. on mouseUp
  429.   Answer "Reset Weighting?" with "Clear" or "Default" or "Cancel"
  430.   if it is "Clear" then
  431.     put empty into card field "minorweight"
  432.     put empty into card field "examweight"
  433.     put empty into card field "paperweight"
  434.     put empty into card field "finalweight"
  435.     answer "Enter weights before proceeding further." with "OK"
  436.   else if it is "Default" then
  437.     put 25 into card field "minorweight"
  438.     put 25 into card field "examweight"
  439.     put 25 into card field "paperweight"
  440.     put 25 into card field "finalweight"
  441.     send "mouseup" to card button 9
  442.   end if
  443. end mouseUp
  444.  
  445.  
  446.  
  447. -- part 22 (button)
  448. -- low flags: 00
  449. -- high flags: A003
  450. -- rect: left=16 top=297 right=319 bottom=116
  451. -- title width / last selected line: 0
  452. -- icon id / first selected line: 0 / 0
  453. -- text alignment: 1
  454. -- font id: 0
  455. -- text size: 12
  456. -- style flags: 0
  457. -- line height: 16
  458. -- part name: Preferences
  459. ----- HyperTalk script -----
  460. on mouseUp
  461.   visual effect dissolve
  462.   go card "preferences"
  463. end mouseUp
  464.  
  465.  
  466.  
  467. -- part 23 (button)
  468. -- low flags: 00
  469. -- high flags: A003
  470. -- rect: left=120 top=297 right=319 bottom=220
  471. -- title width / last selected line: 0
  472. -- icon id / first selected line: 0 / 0
  473. -- text alignment: 1
  474. -- font id: 0
  475. -- text size: 12
  476. -- style flags: 0
  477. -- line height: 16
  478. -- part name: Records
  479. ----- HyperTalk script -----
  480. on mouseUp
  481.   visual effect dissolve
  482.   go card "first record"
  483. end mouseUp
  484.  
  485.  
  486.  
  487. -- part 26 (button)
  488. -- low flags: 00
  489. -- high flags: 2000
  490. -- rect: left=15 top=30 right=72 bottom=225
  491. -- title width / last selected line: 0
  492. -- icon id / first selected line: 0 / 0
  493. -- text alignment: 1
  494. -- font id: 0
  495. -- text size: 12
  496. -- style flags: 0
  497. -- line height: 16
  498. -- part name: go Manager
  499. ----- HyperTalk script -----
  500. on mouseUp
  501.   visual effect dissolve
  502.   go to card "Gradebook Manager"
  503. end mouseUp
  504.  
  505.  
  506.  
  507. -- part 27 (button)
  508. -- low flags: 00
  509. -- high flags: A003
  510. -- rect: left=316 top=34 right=55 bottom=358
  511. -- title width / last selected line: 0
  512. -- icon id / first selected line: 0 / 0
  513. -- text alignment: 1
  514. -- font id: 3
  515. -- text size: 9
  516. -- style flags: 256
  517. -- line height: 12
  518. -- part name: print
  519. ----- HyperTalk script -----
  520. on mouseUp
  521.   doMenu "Print Card"
  522. end mouseUp
  523.  
  524.  
  525.  
  526. -- part 24 (field)
  527. -- low flags: 81
  528. -- high flags: 2004
  529. -- rect: left=13 top=55 right=338 bottom=487
  530. -- title width / last selected line: 0
  531. -- icon id / first selected line: 0 / 0
  532. -- text alignment: 0
  533. -- font id: 3
  534. -- text size: 9
  535. -- style flags: 0
  536. -- line height: 12
  537. -- part name: Info
  538. ----- HyperTalk script -----
  539. on mouseup
  540.   hide card field "info"
  541. end mouseup
  542.  
  543.  
  544. -- part contents for card part 13
  545. ----- text -----
  546. 0
  547.  
  548. -- part contents for card part 14
  549. ----- text -----
  550. 0
  551.  
  552. -- part contents for card part 15
  553. ----- text -----
  554. 0
  555.  
  556. -- part contents for card part 24
  557. ----- text -----
  558.    This gradebook accomodates four categories of assignments: Minor assignments, Exams, Papers, and Final Exam.  There can be up to 14 Minor Assignments, up to 3 exams and 3 papers, and one Final exam.
  559.    There are two basic ways to grade an assignment: Give it a score, and then use the score to calculate a letter grade, or give it a letter grade and then convert that to a numerically equivalent score for arithmetic computation of averages, etc.  The "Score -> Grade" option sets you up for the first of these; the "Grade -> Score" option sets you up for the second of them.
  560.    If you choose "Score -> Grade" you will need to set some breakpoint preferences.  Use the 
  561. "Preferences" button to go to that card.
  562.  
  563.    If you wish to drop the lowest scores from a category before computing an average, type the number to be dropped in the appropriate boxes, and click the OK button.
  564.  
  565.     The "Weighting" boxes allow you to determine what percentage of the Term Grade will come from each assignment category.  A click on the black "header" will clear all four boxes.  You can set individual weights to zero; but the collective total must equal exactly 100.  After you have filled the boxes in the way you want them, click the OK button to "fix" your settings.
  566.  
  567.    After you have your options and preferences set the way you want them, the "Records" button will take you to the student record section of the stack.
  568.  
  569. Click on the black "Setup Options" header to go to the Gradebook Manager card.
  570.  
  571. -- part contents for card part 9
  572. ----- text -----
  573. 25
  574.  
  575. -- part contents for card part 10
  576. ----- text -----
  577. 25
  578.  
  579. -- part contents for card part 11
  580. ----- text -----
  581. 25
  582.  
  583. -- part contents for card part 12
  584. ----- text -----
  585. 25